package com.tkc.dao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tkc.common.result.info.PageInfo;
import com.tkc.dao.model.doo.TeacherDOO;

/**
 * 
 * @Function:dao层操作
 * 
 * @Project :assessmenttask 
 * @Package :com.tkc.dao 
 * @File :TeacherDOOMapper.java 
 * @ClassName: TeacherDOOMapper  
 * 
 * @author tankaichao 
 * @email cgztkc@126.com 
 * @Date 2016年8月9日下午6:52:10
 * @since JDK 1.8 
 *
 */
public interface TeacherDOOMapper {
    
  	/*新增教师信息*/
  	int insertTeacherSelective(@Param(value = "teacherDOO")TeacherDOO teacherDOO);
  	
  	/*批量新增教师信息*/
  	int insertTeacherBulkSelective(List<TeacherDOO> list);
  	
  	/*存储过程新增教师信息*/
  	int insertTeacherStoredprocedureSelective(HashMap<String, String> map);
  	
  	/*更新教师信息*/
  	int updateTeacherByPrimaryKeySelective(@Param(value = "teacherDOO")TeacherDOO teacherDOO);
  	
    /*删除教师信息*/
  	int deleteTeacherSelective(@Param(value = "teacherDOO")TeacherDOO teacherDOO);
  	
    /*查看教师信息*/
  	TeacherDOO selectTeacherSelective(@Param(value = "teacherDOO")TeacherDOO teacherDOO);
  	
  	/*查看教师信息队列*/
  	List<TeacherDOO> selectTeacherListSelective(@Param(value = "teacherDOO")TeacherDOO teacherDOO);
  	
  	/*分页查询教师信息*/
	List<TeacherDOO> selectTeacherByPage(@Param(value = "teacherDOO")TeacherDOO teacherDOO,@Param(value = "pageInfo")PageInfo pageInfo);
	
	/*清空教师信息*/
  	int clearTeacherDate();

	
	
    
}